package com.cq.feignapi.clients;

import com.cq.feignapi.entity.TB_User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("systemServer")
public interface UserClients {
    // 地址指向实现类中的地址
    @RequestMapping("/userClient/getUserById")
    TB_User getUser();
}